/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cr.ac.una.sive.entidadLocal;

import cr.ac.una.sive.entidad.Vehiculo;

/**
 *
 * @author claribel
 */
public class VehiculoLocal extends Vehiculo{
     private boolean selected;

    public VehiculoLocal(Vehiculo vehiculo) {
        this.setAnoFabricacion(vehiculo.getAnoFabricacion());
        this.setColor(vehiculo.getColor());
        this.setIdVehiculo(vehiculo.getIdVehiculo());
        this.setMarca(vehiculo.getMarca());
        this.setModelo(vehiculo.getModelo());       
        this.setPlaca(vehiculo.getPlaca());
        this.setCedulaPropietario(vehiculo.getCedulaPropietario());    
        this.setApellidoPropietario(vehiculo.getApellidoPropietario());
        this.setNombrePropietario(vehiculo.getNombrePropietario());
        
        this.selected = false;
    }

    public VehiculoLocal() {
    }
    
    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public boolean isSelected() {
        return selected;
    }
     
     
    
    
}
